package com.gpnu.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gpnu.crm.domain.Customer;
import com.gpnu.crm.query.QueryObject;

public interface CustomerMapper {
	/*
	 * void insert(Customer entity); void update(Customer entity); void delete(Long
	 * id);
	 * 
	 * Customer selectById(Long id); List<Customer> selectAll(QueryObject qo);
	 */

	int insert(Customer paramCustomer);

	List<Customer> selectForList(QueryObject paramQueryObject);

	int updateByPrimaryKey(Customer paramCustomer);

	void updateCustomerInfo(@Param("customerId") Long paramLong1, @Param("newSellerId") Long paramLong2,
			@Param("status") Integer paramInteger);

	List<Customer> selectAll();
}
